/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.yuhanginfo.modules.sys.entity;

import org.hibernate.validator.constraints.Length;

import com.yuhanginfo.common.persistence.DataEntity;

/**
 * 用户门店关联Entity
 * @author lvls
 * @version 2017-09-20
 */
public class SysUserStore extends DataEntity<SysUserStore> {
	
	private static final long serialVersionUID = 1L;
	private String sysUserId;		// 管理员id
	private String storeCode;		// 门店号
	
	public SysUserStore() {
		super();
	}

	public SysUserStore(String id){
		super(id);
	}

	@Length(min=0, max=11, message="管理员id长度必须介于 0 和 11 之间")
	public String getSysUserId() {
		return sysUserId;
	}

	public void setSysUserId(String sysUserId) {
		this.sysUserId = sysUserId;
	}
	
	@Length(min=0, max=50, message="门店号长度必须介于 0 和 50 之间")
	public String getStoreCode() {
		return storeCode;
	}

	public void setStoreCode(String storeCode) {
		this.storeCode = storeCode;
	}
	
}